import request from '@/utils/request'
import { encryptionData } from '@/utils/com'

/* oss上传图片 */
export function ossUpload(data) {
  return request({
    url: 'https://gys-pretest.jcdcbm.com/gys-ot/commodity/uploadToKjlOss',
    method: 'post',
    headers: encryptionData(data, '/api/ossUpload'),
    data
  })
}
